package com.heyqing.prepare;

/**
 * ClassName:Cont
 * Package:com.heyqing.prepare
 * Description:
 * 公共工具
 *
 * @Date:2024/7/21
 * @Author:Heyqing
 */
public class Tools {
    /**
     * 分隔符
     */
    public static void separate() {
        System.out.println("\n*****----------separate----------*****");
    }

    /**
     * 结果打印
     *
     * @param title
     * @param param
     * @param res
     */
    public static void print(String title, Object param, String res) {
        System.out.println("*****----------" + title + "----------*****");
        System.out.println("传递参数：" + param);
        System.out.println("运行结果：" + res);
        System.out.println("*****----------separate----------*****\n");
    }

    public static void func(String info) {
        System.out.println("\nstart===========================>");
        System.out.println("func:" + info);
        System.out.println("<=============================end\n");
    }
}
